export const UserAgent =
  "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1";

export const WeeksMap = {
  1: {
    uri: "https://javascriptweekly.com",
    title: "JavaScript Weekly",
    pic: '1.png',
  },
  2: {
    uri: "https://frontendfoc.us",
    title: "Frontend Focus",
    pic: '2.png'
  },
  3: {
    uri: "https://nodeweekly.com",
    title: "Node Weekly",
    pic: '3.png'
  },
  4: {
    uri: "https://react.statuscode.com",
    title: "React Status",
    pic: '4.png'
  },
  5: {
    uri: "https://mobiledevweekly.com",
    title: "Mobile Developer Weekly",
    pic: 'favicon.png'
  },
  6: {
    uri: "https://golangweekly.com",
    title: "Golang Weekly",
    pic: '6.png'
  },
  7: {
    uri: "https://rubyweekly.com",
    title: "Ruby Weekly",
    pic: '7.png'
  },
  8: {
    uri: "https://dbweekly.com",
    title: "Database Status",
    pic: 'favicon.png'
  },
  9: {
    uri: "https://weekly.statuscode.com",
    title: "StatusCode Weekly",
    pic: 'favicon.png'
  },
  10: {
    uri: "https://serverless.email",
    title: "Serverless Status",
    pic: '10.png'
  },
  11: {
    uri: "https://mongodb.email",
    title: "MongoDB Memo",
    pic: 'favicon.png'
  },
  12: {
    uri: "https://postgresweekly.com",
    title: "Postgres Weekly",
    pic: '12.png'
  },
  13: {
    uri: "https://denoweekly.com",
    title: "Deno Weekly",
    pic: '13.png'
  },
  14: {
    uri: "https://jamstack.email/",
    title: "JAMstacked",
    pic: 'favicon.png'
  },
  21: {
    uri: "https://pycoders.com", // TODO: 跳转链接需要特殊处理, 翻译时链接个数不匹配
    title: "Python Weekly",
    pic: 'favicon.png'
  },
  22: {
    uri: "https://news.vuejs.org",
    title: "Vuejs News",
    pic: 'favicon.png'
  },
  23: {
    uri: "https://css-weekly.com",
    title: "CSS Weekly",
    pic: 'favicon.png'
  },
  24: {
    uri: "https://ma.ttias.be/cronweekly",
    title: "cron.weekly",
    pic: 'favicon.png'
  },
  25: {
    uri: "https://webtoolsweekly.com",
    title: "Web Tools Weekly",
    pic: 'favicon.png'
  },
  // 26: {
  //   uri: "https://this-week-in-rust.org",
  //   title: "Rust Weekly",
  //   pic: 'favicon.png'
  // },
  27: {
    uri: "https://gamedev.rs",
    title: "Rust Game Dev",
    pic: 'favicon.png'
  },
  28: {
    uri: "https://androidweekly.net",
    title: "Android Weekly",
    pic: 'favicon.png'
  },
  29: {
    uri: "https://iosdevweekly.com",
    title: "IOS Dev Weekly",
    pic: 'favicon.png'
  },
  30: {
    uri: "https://daily.dev",
    title: "Daily开发者周报",
    pic: 'favicon.png'
  },
};

export const Weeks = Object.keys(WeeksMap).map((n) => ({
  ...WeeksMap[n],
  cid: Number(n),
}));

export const Colors = [
  "485eb3",
  "48ace8",
  "e7a254",
  "7652ac",
  "ed856a",
  "dd696a",
  "53c2d5",
  "dd6667",
  "4dc0d4",
  "a673d2",
  "764fad",
  "49c3a8",
  "eb8263",
  "a571d1",
  "7853af",
  "3cc1a4",
];

export const TranslatedKey = "coder-weekly-translated";
export const LastestPidKey = "coder-weekly-pids";
